package com.bill.springcloud.hystrix.feign.service;

import org.springframework.stereotype.Component;

/**
 * feign实现断路
 * @fileName: HelloFeignServiceImpl.java
 * @author: bin.li01
 * @date: 2018/2/2 13:42
 * @version: v1.0.0
 */
@Component
public class HelloFeignServiceImpl implements HelloFeignService {

    @Override
    public String helloFromEurekaClient(String name) {
        return "feign sorry " + name;
    }
}
